package com.cqw;



import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderEvaluation {

    @ApiModelProperty(value = "已经完成评价")
    private boolean finish;

    @ApiModelProperty(value = "商品评价星级")
    private int goodsStars;

    @ApiModelProperty(value = "物流评价星级")
    private int logisticsStars;

    @ApiModelProperty(value = "服务评价星级")
    private int serviceStars;

    @ApiModelProperty(value = "评价文字内容", required = true)
    private String content;

    @ApiModelProperty(value = "文件url列表")
    private List<String> imageUrls;

    @ApiModelProperty(value = "评价更新时间")
    private Date updateTime;

    public OrderEvaluation() {
        finish = false;
        imageUrls = null;
        updateTime = null;
    }


    public boolean isFinish() {
        return finish;
    }

    public int getGoodsStars() {
        return goodsStars;
    }

    public int getLogisticsStars() {
        return logisticsStars;
    }

    public int getServiceStars() {
        return serviceStars;
    }

    public String getContent() {
        return content;
    }

    public List<String> getImageUrls() {
        return imageUrls;
    }

    public Date getUpdateTime() {
        return updateTime;
    }
}
